package cn.ucai.day01_Object.pa4_refer;

import cn.ucai.day01_Object.pa3_Dog.Dog;


public class Test {

	public static void main(String[] args) {
		//引用存放在栈中，对象存放在堆中
		Person p1=new Person("奥巴马",60);
		
		Person p2=p1;		
		
		//System.out.println(p.name);
		//System.out.println(p.dog.name);
	}

}
